package com.qf.dao;

import com.qf.pojo.po.XcUser;
import org.springframework.data.jpa.repository.JpaRepository;


public interface XcUserRepository extends JpaRepository<XcUser,Integer> {

    //根据email去数据库查询
    XcUser findByEmail(String email);

    //根据输入的用户名去数据库查询
    XcUser findByUserName(String username);

}
